package com.nb.nbbase2.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.*;

/**
 * <p>
 *
 * </p>
 *
 * @author 作者
 * @since 2024-10-02
 */
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Getter
@Setter
@TableName("ns_user")
public class NsUser implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 微信uuid
     */
    private String unionId;

    /**
     * qq号
     */
    private String qq;

    /**
     * 昵称
     */
    private String nickname;

    private String password;

    /**
     * 出生日期
     */
    private LocalDateTime birthday;

    private Integer provinceId;

    private Integer cityId;

    /**
     * 县/区编码
     */
    private Integer districtId;

    private String area;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    private LocalDateTime updateTime;


}
